package com.jy.framework.utils.os;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author: JuiceYan
 * @Description: 不同操作系统的变量
 * @Class: OSProperties
 * @Date: 16:10 2018/12/11
 */
@Data
public class OSProperties {

    protected String filesPath;
    protected String filesUrl;

    protected String qrBaseUrl;
    protected String qrSrcDir;
    protected String qrDir;
    protected String tmp;
    protected String serverUrl;

    @ConfigurationProperties("jy.linux")
    public static class LinuxProperties extends OSProperties {
    }

    @ConfigurationProperties("jy.windows")
    public static class WindowsProperties extends OSProperties {

    }
}
